package com.hzya.frame.webservice.cxfserver.service.impl;

import com.hzya.frame.webservice.cxfserver.entity.TestEntity;
import com.hzya.frame.webservice.cxfserver.service.IOrderWebService;

import javax.jws.WebService;

/**
 * @description:
 * @author: gjh
 * @Date Created in 2018/8/10 10:31
 */
@WebService(endpointInterface="com.hzya.frame.webservice.cxfserver.service.IOrderWebService"
        ,serviceName="IOrderWebService"
        ,targetNamespace="http://service.cxfserver.webservice.frame.hzya.com/")
public class OrderWebServiceImpl implements IOrderWebService {
    @Override
    public String sayHello(String name) {
        return "hello";
    }

    /**
     * 返回一个实体
     *
     * @param num
     * @return
     */
    @Override
    public TestEntity getOrdersByNum(String num) {
        return new TestEntity();
    }
}
